@{
    ViewData["Title"] = "[tblTitle]";
}

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">[tblTitle]</a></li>
    </ul>
</div>

<div class="formbody">
    <div id="usual1" class="usual">
        <form id="formQuery" action="" method="post">
            <ul class="seachform1">
  [loop start]
                <li>
                    <label> [fldTitle]：</label>
                    <input type="text" id="con{fldName}" name="{fldName}" class="scinput1" placeholder="请输入[fldTitle]" value="" />
                </li>
  [loop end]
                <li>
                    <input type="hidden" id="pageindex" name="pageindex" value="1" />
                    <input type="hidden" id="pagesize" name="pagesize" value="10" />
                    <input type="button" id="btnQuery" class="scbtn" value=" 查询 " />
                    <input type="button" id="btnAdd" class="scbtn2" value="添加" />
                </li>
            </ul>
        </form>
    </div>
    <div style="clear:both"></div>
    <div id="app">
        <table class="tablelist" >
            <thead>
                <tr>
                    <th >编号</th>
  [loop start]
                    <th>[fldTitle]</th>
  [loop end]
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr  v-cloak :data-id="info.id"  v-for="(info, index) in listdata">
                    <td class="lft">[[info.id]]</td>
  [loop start]
                    <td class="lft">[[info.[fldName]]]</td>
  [loop end]

                    <td class="operate">
                        <a href="javascript:;" class="btnView"  :data-id="info.id"><img src="/images/t01.png" />查看 </a>
                        <a href="javascript:;" class="btnEdit"  :data-id="info.id"><img src="/images/t02.png" />修改 </a>
                        <a href="javascript:;" class="btnDelete"  :data-id="info.id"> <img src="/images/t03.png" />删除</a>

                    </td>
                </tr>

            </tbody>
        </table>
    </div>
    <div class="pagination ue-clear"></div>

</div>


<div class="tip" id="layer-edit">
    <div class="tiptop"><span>编辑</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>[tblTitle]</span></div>
    <form id="formEdit" action="" method="post">
        <table class="tblForm">
            <tbody>
  [loop start]
            <tr>
                <td class="tdFormLeft"><label><em>* </em>[fldTitle]</label></td>
                <td>
                   <input type="text" id="txt{fldName}" name="[fldName]" placeholder="请输入[fldTitle]" value="" />
                </td>
            </tr>
  [loop end]

            </tbody>
        </table>

        <div class="btnDiv">
            <input name="id" value="0" type="hidden" />
            <input type="button" id="btnSubmit" onClick="formEditSubmit();" class="scbtn" value=" 发布 " />
        </div>
     </form>
</div>

<div class="tip" id="layer-view">
    <div class="tiptop"><span>查看</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>[tblTitle]</span></div>
    <table class="tblForm">
        <tbody>
  [loop start]
            <tr>
                <td class="tdFormLeft"><label><em>* </em>[fldTitle]</label></td>
                <td>
                    <span id="spn{fldName}" name="[fldName]" class="fld-value"></span>
                </td>
            </tr>
  [loop end]

        </tbody>
    </table>

    <div class="btnDiv">
        <input type="button" class="scbtn btnClose" value=" 关闭 " />
    </div>
</div>
<script src="/viewjs/[tblName]/index.js"></script>
